import vue from "@vitejs/plugin-vue";
import Pages from "vite-plugin-pages";
// 引入插件
import AutoImport from "unplugin-auto-import/vite";

export default () => {
  return [
    vue(),
    Pages({
      extensions: ["vue", "md", "tsx"],
    }),
    AutoImport({
      imports: ["vue", "vue-router"],
    }),
  ];
};
